home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tiger Disk 123
/
Tiger_Disk_123_20xx_Tiger-Crew-Disk_de_Side_B.d64
/
mathe master
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
3KB
|
122 lines
0 poke53272,peek(53272)or2:printchr$(147):print"[147]"
1 poke53281,0:poke53280,0:for i=1 to 20:print" [154] ";:next:print""
2 print" [205]athe [205]aster von [193].[204]eitner & [208].[196]iehm [186][146]"
3 print
4 print
5 print" 1 > [205]ultiplikation "
6 print
7 print" 2 > [196]ivision"
8 print
9 print" 3 > [193]ddition"
10 print
11 print" 4 > [211]ubtraktion"
12 print
13 print" 5 > [209]uadratwurzel"
14 print
15 print" 6 > [209]uadratwurzelsampler":goto3000
16 print:print" 8 > [210]eset":print:print
18 geta$:if a$="" then 18
19 on val(a$) goto 29,99,199,299,399,499,600,2000
20 goto 18
29 printchr$(147):for i=1 to 20:print"[183][183]";:next:print""
30 printchr$(5)" [205]ultiplikation [204][186] "
31 print:print
32 print" [197]rster [215]ert :":print:inputc
33 print" [218]weiter [215]ert:":print:inputd
34 print:g=c*d
35 print" [197]rgebnis[146]",g:for i=1 to 40:print"[158][183][183]";:next
36 print:gosub1000:goto 29
99 printchr$(147):for i=1 to 20:print"[154][183][183]";:next
100 printchr$(5)" [196]ivision [204][186] "
101 print
102 print
103 print" [197]rster [215]ert :":print:inputa
104 print" [218]weiter [215]ert:":print:inputb
105 print:l=a/b
106 print" [197]rgebnis[146] "l:for i=1 to 20:print"[183][183]";:next:gosub 1000:goto 99
199 printchr$(147):for i=1 to 20:print"[158][183][183]";:next:print""
200 printchr$(5)" [193]ddition [204][186] "
202 print:print
203 print" [215]ert 1 :":print:inputa
204 print" [215]ert 2 :":print:inputb
205 print" [215]ert 3 :":print:inputc
206 print" [215]ert 4 :":print:inputd
207 print" [215]ert 5 :":print:inpute
208 print" [215]ert 6 :":print:inputf
209 print" [215]ert 7 :":print:inputg
210 w=a+b+c+d+e+f+g
211 print:print" [197]rbebnis:"w:for i=1 to 40 :print"[154][183][158][183]";:next:print""
212 print:gosub1000:goto199
299 printchr$(147):for i=1 to 20:print"[158][183][183]";:next:print""
300 printchr$(5)" [211]ubtraktion [204][186] "
301 print:print
302 print" [199]rundwert :":print:inputa
303 print" [193]bzug 1 :":print:inputb
304 print" '' 2 :":print:inputc
305 print" '' 3 :":print:inputd
306 print" '' 4 :":print:inpute
307 print" '' 5 :":print:inputf
308 print" '' 6 :":print:inputg
309 z=b+c+d+e+f+g
310 x=a
311 s=x-z
312 print" [197]rgebnis :"s:for i=1 to 40:print"[183][144][183]";:next:print""
313 print:gosub1000:goto299
399 printchr$(147):for i=1 to 20:print"[183][154][183]";:next:print""
400 printchr$(5)" [209]uadratwurzel [204][186] "
401 print:print
402 print" [215]ert :":print:inputy
403 rem
404 print" [197]rgebniss :"sqr(y):for i=1 to 40:print"[158][183][183]";:next:print""
405 print:gosub1000:goto399
499 print"[147]":for i=1 to 20:print"[183][156][183]";:next:print""
500 printchr$(5)" [209]uadratwurzel-[211]ampler [204][186] "
501 print
502 print" [193]nfang :":print:inpute
503 print" [197]nde :":print:inputr
504 print" [193]bstand :":print:inputt
505 forx=etorstept
506 print" "x,sqr(x)
507 next
508 print:gosub1000:goto500
599 print"[147]":for i=1 to 20:print"[183][156][183]";:next:print""
600 printchr$(5):print" [200]inweise [204][186] "
601 print
602 print" [205]ultiplikation+[196]ivision+[209]uadratw.:"
603 for i=1 to 40:print"[183]";:next
604 print" [206]ach jeder [197]ingabe <[210][197][212][213][210][206]>[146] druecken !"
605 print
606 print" [193]ddition+[211]ubtraktion:"
607 print" [163][163][163][163][163][163][163][163] [163][163][163][163][163][163][163][163][163][163][163]"
608 print" [206]ach jeder [197]ingabe <[210][197][212][213][210][206]>[146] druecken !"
609 print" bei nicht benoetigten [211]ummanden oder"
610 print" [211]ubtrahenten auch <[210][197][212][213][210][206]>[146] druecken !"
611 for i=1 to 40:print"[183]";:next
612 print" [209]uadratwurzel-[211]ampler:"
613 print" [163][163][163][163][163][163][163][163][163][163][163][163][163] [163][163][163][163][163][163][163][163]"
614 print" [198]uer <[193]nfang>[146] den [193]nfangswert der zu"
615 print" berechnenden [218]ahlenreihe eingeben !"
616 print" fuer <[197]nde>[146] den [197]ndwert der zu be-"
617 print" rechnenden [218]ahlenreihe eingeben !"
618 print" fuer <[193]bstand>[146] den [194]erechnungsabstand"
619 print" der [218]ahlenreihe eingeben[160]!"
620 for i=1 to 40:print"[156]*";:next
630 for i=1 to 10:next
640 printspc(30)" <[212][193][211][212][197]>"
641 get a$:if a$="" then 641
642 print"[147]":goto 1
1000 print:print"[206]och mal ? [j/n]";:input p$
1002 ifq$="n" orq$="nein" then 1005
1004 ifq$="j" orq$="ja" then 1006
1005 print"[147]":goto1
1006 print:return
2000 print"[147]":for i=1 to 20:print"[154][183][183]";:next
2001 printchr$(5)" [194]ye, [194]ye ,[194]ye ! ..."
2002 print" [194]is zum naechsten [205]al !"
2003 print" von [193]ndreas [204]eitner";
2004 print" und"
2005 print" [208]eter [196]iehm"
2006 for i=1 to 3000:next:sys 64738
3000 print
3001 print " 7 > [194]enutzungshinweise":goto16